package com.authorization.authorizationserveronsso.service.impl;


import com.authorization.authorizationserveronsso.entity.Users;
import com.authorization.authorizationserveronsso.mapper.UsersMapper;
import com.authorization.authorizationserveronsso.service.UsersService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author hyq
 * @since 2022-01-18
 */
@Service
public class UsersServiceImpl extends ServiceImpl<UsersMapper, Users> implements UsersService {
    @Autowired
    UsersMapper usersMapper;

    @Override
    public Users getUser(String username) {
        return usersMapper.getUser(username);
    }
}
